define(['config'],()=>{
    require(['jquery'],()=>{
        class Header{
            constructor(){
                this.loadHtml()
            }
            loadHtml(){
                
                $('header').load('/html/includes/header.html',()=>{
                    // $('.cart').on('click',()=>{
                    //    location.href='/html/cart.html'
                    // })
                })
            }
        }
        return new Header()
    })
})